/**
 * jims
 */
package com.jims.master.modules.drug.dao;

import com.jims.master.common.persistence.CrudDao;
import com.jims.master.common.persistence.annotation.MyBatisDao;
import com.jims.master.common.web.impl.BaseDto;
import com.jims.master.modules.drug.entity.DrugImportMaster;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 入库主记录DAO接口
 * @author zhuq
 * @version 2017-03-16
 */
@MyBatisDao
public interface DrugImportMasterDao extends CrudDao<DrugImportMaster> {
	public int findDocumentNo (DrugImportMaster drugImportMaster);
	public List<DrugImportMaster> findImportList(DrugImportMaster drugExportMaster);

    /**
     * 接口--统计药品入库记录
     * @param importDate,orgId
     * @return
     * @author 朱齐
     */
    public List<BaseDto> drugImportCount(@Param("importDate")String importDate,@Param("orgId")String orgId);
}